class Base{
    public int a;
    public int b;
}
class Derived extends Base{
    public int c;
    public void func(){
        System.out.println(a);
        System.out.println(b);
        System.out.println(c);
    }
}
public class Test1 {
    public static void main(String[] args){
        Derived derived=new Derived();
        System.out.println(derived.a);
    }
}
